package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.system.domain.fx.FxSupplierGood;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
@Accessors(chain = true)
public class FxStoreGoodVo  {

    /** $column.columnComment */
    private Long id;

    /** 供应商商品id */
    private Long goodId;

    /** 创建者 */
    private Integer createUser;

    /** 剩余数量 */
    @Excel(name = "剩余数量")
    private Integer counts;

    /** 累计销售数量 */
    @Excel(name = "累计销售数量")
    private Integer totalSellCount;

    /** 店铺id */
    private Integer storeId;

    /** 月售 */
    @Excel(name = "月售")
    private Integer monthSellCount;

    @Excel(name = "状态",readConverterExp = "0=存在,1=删除")
    private Integer delFlag;

    @Excel(name = "上架状态",readConverterExp = "0=上架,1=下架")
    private Integer isInitiate;

    /**
     * 库存版本号
     */
    private Integer version;

    @TableField(exist = false)
    public String goodName;


    @Excel(name = "店铺名称")
    private String storeName;


    /**
     * 距离
     */
    private Double distance;

    /**
     * 描述
     */
    @Excel(name = "描述",width = 25,height = 25)
    private String goodDesc;

    /**
     * 零售价
     */
    @Excel(name = "零售价")
    private BigDecimal retailPrice;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片",width = 25,height = 25,cellType = Excel.ColumnType.IMAGE)
    private String goodImg;

    /**
     * 详情图片
     */
    private String goodDetail;

    /**
     * 说明
     */
    @Excel(name = "说明",width = 25,height = 25)
    private String goodText;

    /**
     * 二维码url
     */
    @Excel(name = "二维码url" ,width = 25,height = 25,cellType = Excel.ColumnType.IMAGE)
    private String qrCodeUrl;

    /**
     * 商品分类
     */
    private Long goodClassify;

    /**
     * 供应商名称
     */
    private String  supplierName;


    /**
     * 来源（1采购，2自营）
     */
    private Integer  source;

    /**
     * 会员价
     */
    private BigDecimal memberPrice;

    /** 批发价 */
    private String tradePrice;

    /** 商品状态（1：审核中；2：审核通过；3：审核不通过） */
    private Long goodStatus;

    //一级分类的id
    private Long classOneId;
    //二级分类的id
    private Long classTwoId;
    //三级分类的id
    private Long classThreeId;


    //一级分类的名称
    private String classOneName;
    //二级分类的名称
    private String classTwoName;
    //三级分类的名称
    private String classThreeName;

    /** 店铺地址 */
    private String storeAddress;

    /** 产品规格 */
    private String specifications;
    /** 产品规格列表 */
    private List<String> specificationsList;

    private String units;

    private Long parentId;

    private String region;

    private Integer sonNum;

    /**
     * 商品品牌
     */
    private String brand;

    /**
     * 产地
     */
    private String place;

    /**
     * 重量
     */
    private String weight;


    /**
     * 重量单位
     */
    private String weightUnits;

    /**
     * 店内码/货号
     */
    private String articleNumber;


    /**
     * 货架码/位置码
     */
    private String shelfCode;

    /**
     * 起购数
     */
    private String minimumPurchaseQuantity;


    /** 商品卖点15字以内 */
    private String sellingPoints;

    private List<FxSupplierGood> goodsList;
    private List<FxStoreGoodVo> goodVoList;
    List<Map<String,List<String>>> map;

}
